import operator

def calc(result):
    if(result[1]=="+"):
       return operator.add(float(result[0]),float(result[2]))
    if(result[1]=="-"):
        return operator.sub(float(result[0]),float(result[2]))
    if(result[1]=="*"):
        return operator.mul(float(result[0]),float(result[2]))
    if(result[1]=="/"):
        return operator.div(float(result[0]),float(result[2]))
    if(result[1]=="%"):
        return operator.mod(float(result[0]),float(result[2]))
    if(result[1]=="**"):
        return operator.pow(float(result[0]),float(result[2]))
name = raw_input()
result=name.split(" ")

print calc(result)